﻿namespace Sgr.UPMS.Application.ViewModels
{
    public class OutOrgInvitationViewModel
    {
        /// <summary>
        /// 邀请ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 组织ID
        /// </summary>
        public long OrganizationId { get; set; }

        /// <summary>
        /// 邀请码
        /// </summary>
        public string InvitationCode { get; set; } = string.Empty;

        /// <summary>
        /// 过期时间
        /// </summary>
        public DateTime ExpireTime { get; set; }

        /// <summary>
        /// 可使用次数（-1表示不限制）
        /// </summary>
        public int UsageLimit { get; set; }

        /// <summary>
        /// 已使用次数
        /// </summary>
        public int UsedCount { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string? Description { get; set; }
    }
}